<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.10.0">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Crispy Plotter Documentation: WSVFileObject: Class TWSVFileObject</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="TWSVFileObject"></a><h1 class="cio">Class TWSVFileObject</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#@Description">Description</a></td><td><a class="section"  href="#@Hierarchy">Hierarchy</a></td><td>Fields</td><td><a class="section"  href="#@Methods">Methods</a></td><td>Properties</td></tr></table>
<a name="@Description"></a><h2 class="unit">Unit</h2>
<p class="unitlink">
<a   href="WSVFileObject.html">WSVFileObject</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TWSVFileObject = class(<a class="normal"  href="WSVObject.TWSVObject.html">TWSVObject</a>)</code></p>
<h2 class="description">Description</h2>
<p>
TWSVFileObject represents a file system object (a file or folder) referenced by a tree node in a work space view.</p>
<a name="@Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="ancestor"><a class="normal"  href="WSVObject.TWSVObject.html">TWSVObject</a></li>
<li class="thisitem">TWSVFileObject</li></ul><h2 class="overview">Overview</h2>
<a name="@Methods"></a><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <b><a   href="WSVFileObject.TWSVFileObject.html#GetNodeText">GetNodeText</a></b>(FileName: string): string; virtual; abstract;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="WSVFileObject.TWSVFileObject.html#Create">Create</a></b>(ANode: TTreeNode; FileName: string); virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="WSVFileObject.TWSVFileObject.html#GetFilePath">GetFilePath</a></b>: string;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="WSVFileObject.TWSVFileObject.html#Exists">Exists</a></b>: Boolean; virtual; abstract;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="WSVFileObject.TWSVFileObject.html#FileDeleteNode">FileDeleteNode</a></b>: Boolean; virtual; abstract;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="WSVFileObject.TWSVFileObject.html#Rename">Rename</a></b>(Name: string): Boolean; override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="WSVFileObject.TWSVFileObject.html#FileMoveNode">FileMoveNode</a></b>(Folder: <a   href="WSVFileObject.TWSVFileObject.html">TWSVFileObject</a>): Boolean; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="WSVFileObject.TWSVFileObject.html#FileCopyNode">FileCopyNode</a></b>(Folder: <a   href="WSVFileObject.TWSVFileObject.html">TWSVFileObject</a>): Boolean; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="WSVFileObject.TWSVFileObject.html#MustExist">MustExist</a></b>(Context: <a   href="WSVObject.html#TUnsyncedContext">TUnsyncedContext</a>);</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="GetNodeText"></a><code>function <b>GetNodeText</b>(FileName: string): string; virtual; abstract;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(ANode: TTreeNode; FileName: string); virtual;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="GetFilePath"></a><code>function <b>GetFilePath</b>: string;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns the path of the file or folder</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Exists"></a><code>function <b>Exists</b>: Boolean; virtual; abstract;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns true, if the file or folder exists in the file system</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="FileDeleteNode"></a><code>function <b>FileDeleteNode</b>: Boolean; virtual; abstract;</code></td>
</tr>
<tr><td colspan="2">
<p>
Deletes the file or folder from the file system</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Rename"></a><code>function <b>Rename</b>(Name: string): Boolean; override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Renames this file or foler in the file system</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="FileMoveNode"></a><code>function <b>FileMoveNode</b>(Folder: <a   href="WSVFileObject.TWSVFileObject.html">TWSVFileObject</a>): Boolean; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Move this file or folder to the specfied folder in the file system</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="FileCopyNode"></a><code>function <b>FileCopyNode</b>(Folder: <a   href="WSVFileObject.TWSVFileObject.html">TWSVFileObject</a>): Boolean; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Copy this file or folder to the specfied folder in the file system</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="MustExist"></a><code>procedure <b>MustExist</b>(Context: <a   href="WSVObject.html#TUnsyncedContext">TUnsyncedContext</a>);</code></td>
</tr>
<tr><td colspan="2">
<p>
This function is usually called before a special operation is performed with the file object (for example openening the file).  affects the error message, in case of the file does not exist.</p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Context</dt>
<dd>This specifies the type of operation and only</dd>
</dl>
</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.10.0</a> on 2007-09-13 21:24:25</em>
</span>
</body></html>
